﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace RndMaterialDisposalService.Models
{
    /// <summary>
    /// 
    /// </summary>

    public class MaterialDisposalReportExportModel
    {
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(1, "单号")]
        public string? Folio { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(2, "主题")]
        public string? Subject { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(3, "申请人")]
        public string? Applicant { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(4, "申请时间")]
        public DateTime? ApplicantDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(5, "部门名称")]
        public string? DeptName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(6, "项目名称")]
        public string? ProjectName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(7, "项目编码")]
        public string? ProjectCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(8, "项目状态")]
        public string? ProjectStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(9, "型号描述")]
        public string? Model { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(10, "物料类型")]
        public string? Type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(11, "单位")]
        public string? Unit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(12, "报废数量")]
        public int? DisposalCount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(13, "单价")]
        public double? Price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(14, "总价")]
        public double? TotalPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(15, "物料来源")]
        public string? Source { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(16, "物料存放地点")]
        public string? Place { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(17, "报废原因")]
        public string? DisposalRemark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(18, "位置")]
        public string? Position { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Column(19, "当前状态")]
        public string? CurrentStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Ganss.Excel.Ignore]
        public int? RowCnt { get; set; }

    }
}
